PGetLinkOptions
Gets the link option settings for the selected object or, if nothing is
selected (or no publication is open), gets the default link options.
Query constructor
PGetLinkOptions(PMBool bDefault);
PMBool bDefault;
false for link options for selected object or, if in
story editor, for current story
true for publication default link options
Query results
short bTextUpdate;
0 for off
1 for on
-2 for option disabled
short bTextAlert;
0 for off
1 for on
-2 for option disabled
short bImageStore;
0 for off
1 for on
-2 for option disabled
short bImageUpdate;
0 for off
1 for on
-2 for option disabled
short bImageAlert;
0 for off
1 for on
-2 for option disabled
A -2 reply value. PageMaker returns -2 for a parameter in the following
instances:
- The selected object is text: PageMaker returns -2 for all the image
parameters (bImageStore, bImageUpdate, and bImageAlert).
- The selected object is an image: PageMaker returns -2 for all the
text parameters (bTextUpdate and bTextAlert).
- Multiple objects or text blocks are selected: PageMaker returns -2
for all parameters.
- The selected object is not linked to an external file, PageMaker returns
-2 for all parameters.
Default settings. If bDefault is set to true or no imported image
or story is selected, PageMaker gets the publication default link options.
One object only. Select only one object at a time.
See also
The PGetLinkInfo and PGetLinks
queries
The PLinkOptions, PRelink,
and PUnlink commands
Copyright © 1996, Adobe Systems Incorporated. All rights reserved.
Comments or suggestions? Contact Adobe
Developer Support